package com.learnyou.server.xingzuo.biz.common;

/**
 * @author heweifeng
 * @Description:
 * @date 2022/12/3 15:36
 */
public interface SmsSendBiz {
    /**
     * 短信验证码生成与发送
     * @param phone
     * @return
     */
    Boolean sendVerifyCode(String phone);

    /**
     * 验证码校验
     * @param phone
     * @param code
     * @return
     */
    Boolean checkVerifyCode(String phone, String code);
}
